package student.aistar.model.entity;


public class User {

  private Integer userId;
  private String userName;
  private String userPassword;
  private String sex;
  private Integer age;
  private String userImg;
  private String userEmail;
  private String userTelephone;

  public User() {
  }

  public User(Integer userId, String userName, String userPassword, String sex, Integer age, String userImg, String userEmail, String userTelephone) {
    this.userId = userId;
    this.userName = userName;
    this.userPassword = userPassword;
    this.sex = sex;
    this.age = age;
    this.userImg = userImg;
    this.userEmail = userEmail;
    this.userTelephone = userTelephone;
  }

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }

  public String getUserPassword() {
    return userPassword;
  }

  public void setUserPassword(String userPassword) {
    this.userPassword = userPassword;
  }

  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }

  public Integer getAge() {
    return age;
  }

  public void setAge(Integer age) {
    this.age = age;
  }

  public String getUserImg() {
    return userImg;
  }

  public void setUserImg(String userImg) {
    this.userImg = userImg;
  }

  public String getUserEmail() {
    return userEmail;
  }

  public void setUserEmail(String userEmail) {
    this.userEmail = userEmail;
  }

  public String getUserTelephone() {
    return userTelephone;
  }

  public void setUserTelephone(String userTelephone) {
    this.userTelephone = userTelephone;
  }

  @Override
  public String toString() {
    final StringBuilder sb = new StringBuilder("User{");
    sb.append("userId=").append(userId);
    sb.append(", userName='").append(userName).append('\'');
    sb.append(", userPassword='").append(userPassword).append('\'');
    sb.append(", sex='").append(sex).append('\'');
    sb.append(", age=").append(age);
    sb.append(", userImg='").append(userImg).append('\'');
    sb.append(", userEmail='").append(userEmail).append('\'');
    sb.append(", userTelephone='").append(userTelephone).append('\'');
    sb.append('}');
    return sb.toString();
  }
}
